home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 71.zip
/
BS1 part 71
/
X-Cad3000_d5.adf
/
XCdoc
/
plotrast
< prev
next >
Wrap
Text File
|
1991-11-22
|
3KB
|
75 lines
10.2.1 PLOT RASTER
The PLOT RASTER command is used to create a pixel-for-pixel image of the
current drawing in the form of a raster image file for use by subsequent
plot commands.
COMMAND FORMAT
#PLOT RASTER modifiers [:] or [return]
If the command is terminated with a return, the whole of the current
sheet is rasterised. If the command is terminated with a colon, a window
can be digitised defining a smaller area to be rasterised.
MODIFIERS
TO Requires a filename used as the destination for the raster
image file. If the modifier is not entered, the raster
image will be saved to the file XCTEMP:rastc .
Creating a disk based raster image file can take some time
due to the large amount of I/O required. If this raster image
file is going to be used immediately, it may be wise to
assign XCTEMP to the RAM disk or to direct the raster image
file to the RAM disk.
To assign XCTEMP to the RAM disk, the AmigaDOS command
>ASSIGN XCTEMP: RAM:
can be used from a CLI task. To direct a raster image file
to RAM, the command
#PLOT RASTER TO RAM:name_of_plot_file
can be used. ( See the AmigaDOS users manual for information
on the RAM disk and the ASSIGN command ).
DOTSPERINCH The required resolution in dots per inch of the raster
image. This is obviously dependent on the plotter that
will be used to output the final drawing. If no value is
entered, the default is 300.
SCALE A real value defining the scale of the plot in terms of
the SHEET size. The default plot scale is 1.0 .
COLOUR If this modifier is entered, colour information is saved
with the raster image. This information can be interpreted
by raster plotters with a colour capability. If the
modifier is not used, no colour information will be saved
with the raster image file.
Note: rasterising a colour image can make the raster image
file up to 3 times larger than a mono image file.
.DITHER Specifies that coloured plots will be dithered to emulate
the actual colours as seen on the screen. The dithering
process uses a 2x2 pixel matrix to represent each pixel on
the screen. A combination of yellow, magenta and cyan dot
patterns are mixed in each 2x2 matrix to represent one of
a possible 125 colours. In this way, the rasterisation
process will produce a colour plot file using the colours
as seen on the monitor.
ROTATE This modifier will cause the raster image to be rotated
through 90 degrees. The top left hand corner of the final
plot will be the bottom left hand corner of what was the
original image.